package com.dsd.datav.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dsd.datav.domain.User;
import com.dsd.datav.dto.LoginUser;

import java.util.List;

/**
 * @author Administrator
 * @Title: UserMapper
 * @ProjectName datav
 * @Description: TODO
 * @date 2023/12/29 00292023/12/29 0029
 */
public interface UserMapper extends BaseMapper<User> {
    /**
     * 登录
     */
    LoginUser login(LoginUser user);
    /**
     * 根据id查询用户信息
     */
    User findById(String id);
}
